package com.foreveross.fetl.core.domain.freight.repository;

import java.util.Date;
import java.util.List;

import com.foreveross.fetl.common.jpa.IBaseRepository;
import com.foreveross.fetl.core.domain.freight.AirSpread;

public interface IAirSpreadRepository extends IBaseRepository {
	
	public List<AirSpread> findByCondition(Date reportDate, Date flightDate,
			 String fromCity, String toCity, String flightNo,String hbaseKey,String channelKey);
	
	public void saveOrUpdate(AirSpread airSpread);
	
	public void findByID(Long id);
	
	public int createSingle(List<String> airCompanys, List<String> compareChanels,String formCity,String toCity,Date reportDate, Date flightDate);

}
